package com.company.admin.controller.index;

import com.company.admin.common.annotations.VisitAble;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author 赵成林
 * @date 2019/2/18 20:13
 */
@Controller
@RequestMapping(value = "/index")
public class IndexController {

    @VisitAble
    @RequestMapping("/test")
    @ResponseBody
    public String indexTest(){
        return "test success 哈哈哈哈";
    }
}
